import request from '@/utils/request'

// 查询业务组件功能点返回值列表
export function listBusinessComponentReturnValueVersion(query) {
  return request({
    url: '/business/businessComponentReturnValueVersion/list',
    method: 'get',
    params: query
  })
}

// 查询业务组件功能点返回值详细
export function getBusinessComponentReturnValueVersion(id) {
  return request({
    url: '/business/businessComponentReturnValueVersion/' + id,
    method: 'get'
  })
}

// 新增业务组件功能点返回值
export function addBusinessComponentReturnValueVersion(data) {
  return request({
    url: '/business/businessComponentReturnValueVersion',
    method: 'post',
    data: data
  })
}

// 修改业务组件功能点返回值
export function updateBusinessComponentReturnValueVersion(data) {
  return request({
    url: '/business/businessComponentReturnValueVersion',
    method: 'put',
    data: data
  })
}

// 删除业务组件功能点返回值
export function delBusinessComponentReturnValueVersion(id) {
  return request({
    url: '/business/businessComponentReturnValueVersion/' + id,
    method: 'delete'
  })
}
